package config

import "github.com/zeromicro/go-zero/rest"

type VearchConfig struct {
	PluginPath string `json:"PluginPath,default=."`
	SearchTmpPath string `json:"SearchTmpPath,default=."`
	Url string `json:"VearchUrl"`
	DbName string `json:"DbName"`
	SpaceName string `json:"SpaceName"`
}

type ImageConfig struct {
	Url string
	Method string
}

type Config struct {
	rest.RestConf
	Path string `json:",default=."`
	ImageConfig ImageConfig `json:"ImageStorage"`
	VearchConfig VearchConfig `json:"Vearch"`
}
